package edu.gdkm.demo5;

public class Dog extends Animal{
    private String color;

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public Dog(String orgin, String kind, String color) {
        super(orgin, kind);
        this.color = color;
    }

    public Dog(String color) {
        this.color = color;
    }

    public Dog() {
    }

    @Override
    public String getContent() {
        return super.getContent()+",颜色："+color;
    }
}
